Dreamweaver 3 introduces a new type of command that makes menus more flexible and dynamic menus possible. Like regular commands, menu commands can be used to perform almost any kind of edit to the current document, other open documents, or any HTML document on a local drive. The API for menu commands expands the regular command API to accomplish several tasks related to displaying and calling the command from the menu system.
Note: Because menu commands are directly related to the menu system in Dreamweaver, you should read Chapter 16, "Customizing Dreamweaver" in Using Dreamweaver before continuing.
Menu commands are HTML files. The BODY
of a menu command file can contain an HTML form that accepts options for the command (for example, how a table should be sorted and by which column). The HEAD
of a menu command file contains JavaScript functions that process form input from the BODY
and control what edits are made to the user's document.
Menu commands are stored in the Configuration/Menus folder inside the Dreamweaver application folder.